//
//  TabBarHeaderView.h
//  zhijian
//
//  Created by yiban on 2019/1/22.
//  Copyright © 2019 lcb. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@protocol TabBarHeaderViewDelegate <NSObject>
- (void)searchClickWithButton:(NSInteger)button;
@end
@interface TabBarHeaderView : UIView
-(instancetype)initWithFrame:(CGRect)frame item:(NSArray*)items;
@property(nonatomic,strong)UIButton *centerButton;
@property (nonatomic, strong)UISegmentedControl *segControl;
@property (nonatomic,weak)id <TabBarHeaderViewDelegate> delegate;
@end


NS_ASSUME_NONNULL_END
